package com.kushe.entity;

import org.nutz.dao.entity.annotation.*;

import java.sql.Time;
import java.util.Date;
import java.util.List;

/**
 * Created by WSDevotion on 2015/5/1.
 */
@Table("a_topic")
public class Topics {
    @Id
    private int id;

    @Column
    private String name;

    @Column
    private String topic_text;

    @Column
    private String group_name;

    @Column
    private int commentnum;

    @Column
    private Date update_time;

    @Column
    private int author_id;

    private int state;

    @Column
    private int group_id;

    @Column
    private int zan;

    @Column
    private String imgurl;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public void setId(int id) {
        this.id = id;
    }

    public String getTopic_text() {
        return topic_text;
    }

    public String getGroup_name() {
        return group_name;
    }

    public void setGroup_name(String group_name) {
        this.group_name = group_name;
    }

    public int getId() {
        return id;
    }

    public void setTopic_text(String topic_text) {
        this.topic_text = topic_text;
    }

    public int getCommentnum() {
        return commentnum;
    }

    public void setCommentnum(int commentnum) {
        this.commentnum = commentnum;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public int getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(int author_id) {
        this.author_id = author_id;
    }

    public int getGroup_id() {
        return group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public int getZan() {
        return zan;
    }

    public void setZan(int zan) {
        this.zan = zan;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }
}
